package jp.co.neosystem.s2wg.util;

import org.seasar.framework.util.StringUtil;

/**
 * 定数クラス。
 */
public enum Const {

	HOLIDAY_DIV_WEEKDAY("0"),
	HOLIDAY_DIV_SATURDAY("1"),
	HOLIDAY_DIV_SUNDAY("2"), 
	HOLIDAY_DIV_FESTAL_DAY("3");

	public boolean equals(final String str) {
		if (StringUtil.isBlank(str)) {
			return false;
		}

		return this.val.equals(str);
	}

	private String val;

	private Const(final String str) {
		val = str;
	}
}
